home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 May: Tool Chest / Developer CD Series May 1996 (Tool Chest) (Apple Computer) (1996).iso / Tool Chest / Development Tools & Languages / Macintosh Common Lisp Related / interfaces / PInterface Translator / OCE Interfaces / OCEStandardDirectory.p < prev    next >
Encoding:
Text File  |  1993-09-16  |  18.1 KB  |  644 lines  |  [TEXT/MPS ]

  1. {***********************************************************
  2.  
  3. Created: Sunday, February 7, 1993 at 4:54PM
  4.  OCEStandardDirectory.p
  5.  Pascal Interface to the Macintosh Libraries
  6.  
  7.     ••• Apple Confidential •••
  8.     ••• Provided with AOCE Beta seed under license agreement with   •••
  9.     ••• Apple Computer, Inc.  Use for any purpose other than        •••
  10.     ••• development of AOCE-based Macintosh products is a violation •••
  11.     ••• of the license agreement.                                   •••
  12.  
  13.   Copyright Apple Computer, Inc. 1990-1993
  14.   All rights reserved
  15.  
  16. ***********************************************************}
  17.  
  18.  
  19. {$IFC UNDEFINED UsingIncludes}
  20. {$SETC UsingIncludes:= 0}
  21. {$ENDC}
  22.  
  23. {$IFC NOT UsingIncludes}
  24.     UNIT OCEStandardDirectory;
  25.     INTERFACE
  26. {$ENDC}
  27.  
  28. {$IFC UNDEFINED UsingOCEStandardDirectory}
  29. {$SETC UsingOCEStandardDirectory:= 1}
  30.  
  31. {$I+}
  32. {$SETC OCEStandardDirectoryIncludes:= UsingIncludes}
  33. {$SETC UsingIncludes:= 1}
  34.  
  35.  
  36. {$IFC UNDEFINED UsingOCE}
  37. {$I OCE.p}
  38. {$ENDC}
  39.  
  40. {$IFC UNDEFINED UsingOCEAuthDir}
  41. {$I OCEAuthDir.p}
  42. {$ENDC}
  43.  
  44. {$IFC UNDEFINED UsingTypes}
  45. {$I $$Shell(PInterfaces)Types.p}
  46. {$ENDC}
  47.  
  48. {$IFC UNDEFINED UsingWindows}
  49. {$I $$Shell(PInterfaces)Windows.p}
  50. {$ENDC}
  51.  
  52. {$IFC UNDEFINED UsingIcons}
  53. {$I $$Shell(PInterfaces)Icons.p}
  54. {$ENDC}
  55.  
  56. {$SETC UsingIncludes:= OCEStandardDirectoryIncludes}
  57.  
  58.  
  59.  
  60. { CollabPack Trap Selectors }
  61.  
  62. CONST
  63. kSDPNewPanel                    = 100;
  64. kSDPGetNewPanel                    = 101;
  65. kSDPDisposePanel                = 102;
  66. kSDPHidePanel                    = 103;
  67. kSDPShowPanel                    = 104;
  68. kSDPEnablePanel                    = 105;
  69. kSDPUpdatePanel                    = 106;
  70. kSDPMovePanel                    = 107;
  71. kSDPSizePanel                    = 108;
  72. kSDPOpenSelectedItem            = 109;
  73. kSDPGetPanelSelectionState        = 110;
  74. kSDPGetPanelSelection            = 111;
  75. kSDPSetPath                        = 112;
  76. kSDPPanelEvent                    = 113;
  77. kSDPGetPanelSelectionSize        = 114;
  78. kSDPSetIdentity                    = 115;
  79. kSDPSelectString                = 116;
  80. kSDPGetPathLength                = 117;
  81. kSDPGetPath                        = 118;
  82. kSDPSetFocus                    = 119;
  83. kSDPSetPanelBalloonHelp            = 120;
  84.  
  85. kSDPPromptForID                    = 904;
  86.  
  87. kSDPNewFindPanel                = 2300;
  88. kSDPDisposeFindPanel            = 2301;
  89. kSDPStartFind                    = 2302;
  90. kSDPStopFind                    = 2303;
  91. kSDPFindPanelEvent                = 2304;
  92. kSDPDrawFindPanel                = 2305;
  93. kSDPShowFindPanel                = 2306;
  94. kSDPHideFindPanel                = 2307;
  95. kSDPMoveFindPanel                = 2308;
  96. kSDPEnableFindPanel                = 2309;
  97. kSDPSetFindPanelFocus            = 2310;
  98. kSDPGetFindPanelState            = 2311;
  99. kSDPGetFindPanelSelectionSize    = 2312;
  100. kSDPGetFindPanelSelection        = 2313;
  101. kSDPSetFindPanelBalloonHelp        = 2314;
  102. kSDPSetFindIdentity                = 2315;
  103.  
  104. kSDPGetIconByType                = 1024;
  105. kSDPGetDSSpecIcon                = 1025;
  106. kSDPGetCategories                = 1026;
  107. kSDPGetCategoryTypes            = 1027;
  108.  
  109. kSDPResolveAliasFile            = 3700;
  110. kSDPResolveAliasDSSpec            = 3701;
  111.  
  112.  
  113.  
  114. { Collaboration Package Gestalts. }
  115.  
  116. gestaltSDPStandardDirectoryVersion    = 'sdvr';
  117. gestaltSDPFindVersion                = 'dfnd';
  118. gestaltSDPPromptVersion                = 'prpv';
  119.  
  120.  
  121. kSDPPanelResourceType                = 'panl';
  122. kSDPFindPanelResourceType            = 'find';
  123. kStandardFindLayout                    = -16529;
  124.  
  125.  
  126. {$IFC UNDEFINED svLarge1Bit}
  127. {  Selector mask values  }
  128. { This is temporary. It will eventually appear in Icons.h }
  129.  
  130. TYPE
  131. IconSelectorValue = LONGINT;
  132.  
  133.  
  134. CONST
  135. svLarge1Bit            = $00000001;
  136. svLarge4Bit            = $00000002;
  137. svLarge8Bit            = $00000004;
  138. svSmall1Bit            = $00000100;
  139. svSmall4Bit            = $00000200;
  140. svSmall8Bit            = $00000400;
  141. svMini1Bit            = $00010000;
  142. svMini4Bit            = $00020000;
  143. svMini8Bit            = $00040000;
  144. svAllLargeData        = $000000ff;
  145. svAllSmallData        = $0000ff00;
  146. svAllMiniData        = $00ff0000;
  147. svAll1BitData        = (svLarge1Bit + svSmall1Bit + svMini1Bit);
  148. svAll4BitData        = (svLarge4Bit + svSmall4Bit + svMini4Bit);
  149. svAll8BitData        = (svLarge8Bit + svSmall8Bit + svMini8Bit);
  150. svAllAvailableData    = $ffffffff;
  151. {$ENDC}
  152.  
  153.  
  154. { generic icon suites }
  155. CONST
  156. genericDirectoryIconResource            = -16526;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  157. genericLockedDirectoryIconResource        = -16531;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  158. genericRecordIconResource                = -16525;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  159. genericAttributeIconResource            = -16524;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  160.  
  161. { standard icon suites }
  162.  
  163. directoryFolderIconResource                = -16527;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  164. lockedDirectoryFolderIconResource        = -16528;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  165. personalDirectoryIconResource            = -16529;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  166. directoriesIconResource                    = -16530;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  167. preferredPersonalDirectoryIconResource    = -16523;    { icl8, icl4, ICN#, ics#, ics4, ics8, sicn  }
  168.  
  169.  
  170.  
  171.  
  172.  
  173. { Prompt For Identity structures }
  174.  
  175. kSDPGuestBit = 0;
  176. kSDPSpecificIdentityBit = 1;
  177. kSDPLocalIdentityBit = 2;
  178. { Values of SDPIdentityKind }
  179. kSDPGuestMask                 = $0001;  {1<<kSDPGuestBit}
  180. kSDPSpecificIdentityMask     = $0002;  {1<<kSDPSpecificIdentityBit}
  181. kSDPLocalIdentityMask         = $0004;  {1<<kSDPLocalIdentityBit}
  182.  
  183.  
  184. TYPE
  185. SDPIdentityKind = INTEGER;
  186.  
  187. CONST
  188. kSDPSuggestionOnly = 0;
  189. kSDPRestrictToDirectory = 1;
  190. kSDPRestrictToRecord = 2;
  191.  
  192. TYPE
  193. SDPLoginFilterKind = INTEGER;
  194.  
  195.  
  196.  
  197.  
  198. { Panel Structures }
  199.  
  200. {
  201. While the panel is in operation, four selection states may exist.
  202.     1) kSDPNothingSelected means nothing is selected.
  203.     2) kContainSelected means a volume, folder, directory, dnode, or PAB is selected.
  204.     3) kSDPLockedContainerSelected means one of the above, but no access privledges.
  205.     4) kSDPRecordSelected means that a record is currently selected.
  206. }
  207.  
  208. CONST
  209. { Values of SDPSelectionState }
  210. kSDPNothingSelected = 0;
  211. kSDPLockedContainerSelected = 1;
  212. kSDPContainerSelected = 2;
  213. kSDPRecordSelected = 3;
  214. kSDPRecordAliasSelected = 4;
  215. kSDPContainerAliasSelected = 5;
  216.  
  217. TYPE
  218. SDPSelectionState = INTEGER;
  219.  
  220.  
  221.  
  222.  
  223. {
  224. This type informs the caller of the action the user took, either as the result
  225. of an event (as returned by SDPPanelEvent) or when SDPOpenSelectedItem is called.
  226.  
  227. kSDPProcessed means that the event (or call to SDPOpenSelectedItem) resulted in no
  228. state change.
  229.  
  230. kSDPSelectedAnItem indicates that the user wants to select the currently-hilited
  231. record. This is returned, for example, when a user double-clicks on a record.
  232.  
  233. kSDPChangedSelection implies that the user clicked on a new item (which may mean
  234. that no item is selected).
  235. }
  236.  
  237. CONST
  238. { Values of SDPPanelState }
  239. kSDPProcessed = 0;
  240. kSDPSelectedAnItem = 1;
  241. kSDPChangedSelection = 2;
  242.  
  243. TYPE
  244. SDPPanelState = INTEGER;
  245.  
  246.  
  247. {
  248. Your application may read any of the fields in a SDPPanelRecord, but it should
  249. use the appropriate routines to make changes to the records with the exception
  250. of the refCon field which your application may read or write at will.  Private
  251. information follows the SDPPanelRecord, so the handle must not be re-sized.
  252. }
  253.  
  254. SDPPanelRecord = RECORD
  255.     bounds: Rect;
  256.     visible: BOOLEAN;
  257.     enabled: BOOLEAN;
  258.     focused: BOOLEAN;
  259.     {padByte: Byte;}
  260.     identity: AuthIdentity;
  261.     refCon: LONGINT;
  262.     listRect: Rect;
  263.     popupRect: Rect;
  264.     numberOfRows: INTEGER;
  265.     rowHeight: INTEGER;
  266.     pabMode: BOOLEAN;
  267.     END;
  268.  
  269.  
  270. SDPPanelPtr = ^SDPPanelRecord;
  271. SDPPanelHandle = ^SDPPanelPtr;
  272.  
  273.  
  274.  
  275.  
  276.  
  277.  
  278.  
  279. { Find Panel Structures }
  280. CONST
  281. kSDPItemIsSelectedBit = 0;
  282. kSDPFindTextExistsBit = 1;
  283. { Values of SDPFindPanelState }
  284. kSDPItemIsSelectedMask = $0001;  {1<<kSDPItemIsSelectedBit}
  285. kSDPFindTextExistsMask = $0002;  {1<<kSDPFindTextExistsBit}
  286.  
  287.  
  288. TYPE
  289. SDPFindPanelState = INTEGER;
  290.  
  291.  
  292. { Values of SDPFindPanelFocus }
  293. CONST
  294. kSDPFindPanelNoFocus = 0;
  295. kSDPFindPanelListHasFocus = 1;
  296. kSDPFindPanelTextHasFocus = 2;
  297.  
  298.  
  299. TYPE
  300. SDPFindPanelFocus = INTEGER;
  301.  
  302.  
  303. SDPFindPanelRecord = RECORD
  304.     upperLeft: Point;
  305.     visible: BOOLEAN;
  306.     enabled: BOOLEAN;
  307.     nowFinding: BOOLEAN;
  308.     {padByte: Byte;}
  309.     currentFocus: SDPFindPanelFocus;
  310.     identity: AuthIdentity;
  311.     simultaneousSearchCount: INTEGER;
  312.     refCon: LONGINT;
  313.     END;
  314.  
  315.  
  316. SDPFindPanelPtr = ^SDPFindPanelRecord;
  317. SDPFindPanelHandle = ^SDPFindPanelPtr;
  318.  
  319.  
  320. CONST
  321. { Values of SDPFindPanelResult }
  322. kSDPSelectedAFindItem = 0;
  323. kSDPFindSelectionChanged = 1;
  324. kSDPFindCompleted = 2;
  325. kSDPTextStateChanged = 3;
  326. kSDPFocusChanged = 4;
  327. kSDPSelectionAndFocusChanged = 5;
  328. kSDPMenuChanged = 6;
  329. kSDPSelectionAndMenuChanged = 7;
  330. kSDPProcessedFind = 8;
  331.  
  332. TYPE
  333. SDPFindPanelResult = INTEGER;
  334.  
  335.  
  336. PackedRStringListHandle = ^PackedPathNamePtr;
  337.  
  338. PackedDSSpecHandle = ^PackedDSSpecPtr;
  339.  
  340.  
  341. { Prompt For Identity Routines }
  342.  
  343.  
  344. FUNCTION SDPPromptForID(VAR id: AuthIdentity;
  345.                         guestPrompt: StringPtr;
  346.                         specificIDPrompt: StringPtr;
  347.                         localIDPrompt: StringPtr;
  348.                         recordType: RStringPtr;
  349.                         permittedKinds: SDPIdentityKind;
  350.                         VAR selectedKind: SDPIdentityKind;
  351.                         loginFilter: RecordIDPtr;
  352.                         filterKind: SDPLoginFilterKind): OSErr;
  353.     INLINE $203C, 16, kSDPPromptForID, $AA5D;
  354.  
  355.  
  356.  
  357. {
  358. SDPNewPanel creates a new panel. You supply the window in which the panel
  359. is to live, the bounds for the panel (which includes both the menu and the list),
  360. whether or not the panel is to be initially visible, the initial RLI (nil for
  361. directories and volumes), the types of records that will be shown (only a single
  362. (non-nil) type which may contain wildcards), the identity by which to browse
  363. (for access control reasons), and a refCon which is  available to the caller.
  364. }
  365. FUNCTION SDPNewPanel(VAR newPanel: SDPPanelHandle;
  366.                         window: WindowPtr;
  367.                         bounds: Rect;
  368.                         visible: BOOLEAN;
  369.                         enabled: BOOLEAN;
  370.                         initialRLI: PackedRLIPtr;
  371.                         typesList: RStringHandle;
  372.                         typeCount: LONGINT;
  373.                         identity: AuthIdentity;
  374.                         enumFlags: DirEnumChoices;
  375.                         matchTypeHow: DirMatchWith;
  376.                         refCon: LONGINT): OSErr;
  377.     INLINE $203C, 21, kSDPNewPanel, $AA5D;
  378.  
  379.  
  380. {
  381. SDPSetIdentity Sets the identity used for browsing.  NOTE: This call is likely to go
  382. away if the new authentication scheme works.
  383. }
  384. FUNCTION SDPSetIdentity(panel: SDPPanelHandle; identity: AuthIdentity): OSErr;
  385. INLINE $203C, 4, kSDPSetIdentity, $AA5D;
  386.  
  387.  
  388.  
  389.  
  390. {
  391. SDPGetNewPanel is similar to SDPNewPanel above, except it takes a resource id of a
  392. 'panl' resource.
  393. }
  394. FUNCTION SDPGetNewPanel(VAR newPanel: SDPPanelHandle;
  395.                             resourceID: INTEGER;
  396.                             window: WindowPtr;
  397.                             initialRLI: PackedRLIPtr;
  398.                             identity: AuthIdentity): OSErr;
  399.     INLINE $203C, 9, kSDPGetNewPanel, $AA5D;
  400.  
  401.  
  402. {
  403. Call this when you're completely done with a panel. It deallocates all of the
  404. associated data structures.
  405. }
  406. FUNCTION SDPDisposePanel(panel: SDPPanelHandle): OSErr;
  407.     INLINE $203C, 2, kSDPDisposePanel, $AA5D;
  408.  
  409.  
  410. {
  411. If the panel is visible, it makes it invisible by hiding the menu, turning off
  412. drawing of the list, and erasing and  invaling the list's rectangle.
  413. }
  414. FUNCTION SDPHidePanel(panel: SDPPanelHandle): OSErr;
  415.     INLINE $203C, 2, kSDPHidePanel, $AA5D;
  416.  
  417.  
  418. { If the panel is invisible, it makes it visible and draws it. }
  419.  
  420. FUNCTION SDPShowPanel(panel: SDPPanelHandle): OSErr;
  421.     INLINE $203C, 2, kSDPShowPanel, $AA5D;
  422.  
  423.  
  424. { Disables the list and menu so that it won't accept any commands. }
  425.  
  426. FUNCTION SDPEnablePanel(panel: SDPPanelHandle; enable: BOOLEAN): OSErr;
  427.     INLINE $203C, 3, kSDPEnablePanel, $AA5D;
  428.  
  429. {
  430. Move the upper-left-hand corner of the panel to (h, v), given in local coordinates of
  431. the panel's window.
  432. }
  433. FUNCTION SDPMovePanel(panel: SDPPanelHandle; h: INTEGER; v: INTEGER): OSErr;
  434.     INLINE $203C, 4, kSDPMovePanel, $AA5D;
  435.  
  436.  
  437. {
  438. Resizes the panel to have the given width and height (keeping the upper-left-hand
  439. corner in a fixed position).
  440. }
  441. FUNCTION SDPSizePanel(panel: SDPPanelHandle; width: INTEGER; height: INTEGER): OSErr;
  442.     INLINE $203C, 4, kSDPSizePanel, $AA5D;
  443.  
  444.  
  445. {
  446. This routine simulates a double-click on the selected item (if there is no selected
  447. item, then it does nothing), and it returns the result of that "double-click" via the
  448. whatHappened parameter. If a container is selected, then that container will be
  449. opened and kMovedDownTheHierarchy is returned. If, however, the user is at the lowest
  450. level in the hierarchy, then kSDPSelectedAnItem is returned.
  451. }
  452. FUNCTION SDPOpenSelectedItem(panel: SDPPanelHandle; VAR whatHappened: SDPPanelState): OSErr;
  453.     INLINE $203C, 4, kSDPOpenSelectedItem, $AA5D;
  454.  
  455.  
  456. {
  457. Returns whether a record is selected, something else is selected, or nothing is
  458. selected.
  459. }
  460. FUNCTION SDPGetPanelSelectionState(panel: SDPPanelHandle; VAR itsState: SDPSelectionState): OSErr;
  461.     INLINE $203C, 4, kSDPGetPanelSelectionState, $AA5D;
  462.  
  463.  
  464. {
  465. Returns the size of the currently-selected DSSpec, or zero if a record is
  466. not selected.  It is safe to do a NewPtr (SDPGetPanelSelectionSize (...))
  467. }
  468. FUNCTION SDPGetPanelSelectionSize(panel: SDPPanelHandle; VAR dsSpecSize: INTEGER): OSErr;
  469.     INLINE $203C, 4, kSDPGetPanelSelectionSize, $AA5D;
  470.  
  471.  
  472. {
  473. Returns the currently-selected DSSpec, or a zero-lengthed
  474. DSSpec if a record is not selected. It is assumed that the selection
  475. buffer allocated is large enough.
  476. }
  477. FUNCTION SDPGetPanelSelection(panel: SDPPanelHandle; selection: PackedDSSpecPtr): OSErr;
  478.     INLINE $203C, 4, kSDPGetPanelSelection, $AA5D;
  479.  
  480.  
  481. {
  482. Forces browsing to the specified RLI. If prli is the current RLI, then it does
  483. nothing.
  484. }
  485. FUNCTION SDPSetPath(panel: SDPPanelHandle; prli: PackedRLIPtr): OSErr;
  486.     INLINE $203C, 4, kSDPSetPath, $AA5D;
  487.  
  488.  
  489. {
  490. This is the main driver for the panel.  You should pass all events to SDPPanelEvent
  491. including NULL events.  If you have more than 1 panel, you will need to
  492. call SDPPanelEvent for each panel.  NOTE:  For Update Events you will also need to call
  493. SDPUpdatePanel as described below.
  494. }
  495. FUNCTION SDPPanelEvent(panel: SDPPanelHandle;
  496.                             theEvent: EventRecord;
  497.                             VAR whatHappened: SDPPanelState): OSErr;
  498.     INLINE $203C, 6, kSDPPanelEvent, $AA5D;
  499.  
  500.  
  501.  
  502. {
  503. SDPUpdatePanel should be called in response to an update event.  Generally you will
  504. have first called BeginUpdate, and pass the windows visRgn as theRgn.  If NULL
  505. is passed for theRgn the entire panel is re-drawn.  NOTE:  Drawing is not cliped to
  506. theRgn, if this is desired, you must first call SetClip.
  507. }
  508. FUNCTION SDPUpdatePanel(panel: SDPPanelHandle; theRgn: RgnHandle): OSErr;
  509.     INLINE $203C, 4, kSDPUpdatePanel, $AA5D;
  510.  
  511.  
  512. {
  513. SDPSelectString scrolls and selects the closest matching string at the current
  514. level.  This is the same behavior as if the user typed in the given string.
  515. }
  516. FUNCTION SDPSelectString(panel: SDPPanelHandle; name: RStringPtr): OSErr;
  517.     INLINE $203C, 4, kSDPSelectString, $AA5D;
  518.  
  519. {
  520. SDPGetPathLength returns the length in bytes required to hold the current path name
  521. in RLI format.  This corresponds to the path name in the popup menu.
  522. }
  523. FUNCTION SDPGetPathLength(panel: SDPPanelHandle; VAR pathNameLength: INTEGER): OSErr;
  524.     INLINE $203C, 4, kSDPGetPathLength, $AA5D;
  525.  
  526. { SDPGetPath returns the current rli. }
  527. FUNCTION SDPGetPath(panel: SDPPanelHandle; VAR prli: PackedRLI; VAR dsRefNum: INTEGER): OSErr;
  528.     INLINE $203C, 6, kSDPGetPath, $AA5D;
  529.  
  530. {
  531. SDPSetFocus will draw the focus rectangle or erase the focus rectangle depending upon
  532. the focus boolean.
  533. }
  534. FUNCTION SDPSetFocus(panel: SDPPanelHandle; focus: BOOLEAN): OSErr;
  535.     INLINE $203C, 3, kSDPSetFocus, $AA5D;
  536.  
  537. {
  538. SDPSetPanelBalloonHelp allows clients to specify a STR# resource id to use for
  539. balloon help.  Balloon help is unavailable until this call is made.
  540. }
  541. FUNCTION SDPSetPanelBalloonHelp(panel: SDPPanelHandle; balloonHelpID: INTEGER): OSErr;
  542.     INLINE $203C, 3, kSDPSetPanelBalloonHelp, $AA5D;
  543.  
  544.  
  545.  
  546. FUNCTION SDPNewFindPanel(VAR newPanel: SDPFindPanelHandle; window: WindowPtr;
  547.     upperLeft: Point; layoutResourceID: INTEGER; visible: BOOLEAN;
  548.     enabled: BOOLEAN; typesList: RStringHandle;  typeCount: LONGINT;
  549.     matchTypeHow: DirMatchWith; identity: AuthIdentity; simultaneousSearchCount: INTEGER;
  550.     initialFocus: SDPFindPanelFocus; refCon: LONGINT): OSErr;
  551.     INLINE $203C, 20, kSDPNewFindPanel, $AA5D;
  552.  
  553. FUNCTION SDPDisposeFindPanel(findPanel: SDPFindPanelHandle): OSErr;
  554.     INLINE $203C, 2, kSDPDisposeFindPanel, $AA5D;
  555.  
  556. FUNCTION SDPStartFind(findPanel: SDPFindPanelHandle): OSErr;
  557.     INLINE $203C, 2, kSDPStartFind, $AA5D;
  558.  
  559. FUNCTION SDPStopFind(findPanel: SDPFindPanelHandle): OSErr;
  560.     INLINE $203C, 2, kSDPStopFind, $AA5D;
  561.  
  562. FUNCTION SDPFindPanelEvent(findPanel: SDPFindPanelHandle;
  563.     event: EventRecord; VAR whatHappened: SDPFindPanelResult): OSErr;
  564.     INLINE $203C, 6, kSDPFindPanelEvent, $AA5D;
  565.  
  566. FUNCTION SDPUpdateFindPanel(findPanel: SDPFindPanelHandle; theRgn: RgnHandle): OSErr;
  567.     INLINE $203C, 4, kSDPDrawFindPanel, $AA5D;
  568.  
  569. FUNCTION SDPShowFindPanel(findPanel: SDPFindPanelHandle): OSErr;
  570.     INLINE $203C, 2, kSDPShowFindPanel, $AA5D;
  571.  
  572. FUNCTION SDPHideFindPanel(findPanel: SDPFindPanelHandle): OSErr;
  573.     INLINE $203C, 2, kSDPHideFindPanel, $AA5D;
  574.  
  575. FUNCTION SDPMoveFindPanel(findPanel: SDPFindPanelHandle; h: INTEGER; v: INTEGER): OSErr;
  576.     INLINE $203C, 4, kSDPMoveFindPanel, $AA5D;
  577.  
  578. FUNCTION SDPEnableFindPanel(findPanel: SDPFindPanelHandle; enabled: BOOLEAN): OSErr;
  579.     INLINE $203C, 3, kSDPEnableFindPanel, $AA5D;
  580.  
  581. FUNCTION SDPSetFindPanelFocus(findPanel: SDPFindPanelHandle;
  582.     newFocus: SDPFindPanelFocus): OSErr;
  583.     INLINE $203C, 3, kSDPSetFindPanelFocus, $AA5D;
  584.  
  585. FUNCTION SDPGetFindPanelState(findPanel: SDPFindPanelHandle; VAR itsState: SDPFindPanelState): OSErr;
  586.     INLINE $203C, 4, kSDPGetFindPanelState, $AA5D;
  587.  
  588. FUNCTION SDPGetFindPanelSelectionSize(findPanel: SDPFindPanelHandle;
  589.     VAR size: INTEGER): OSErr;
  590.     INLINE $203C, 4, kSDPGetFindPanelSelectionSize, $AA5D;
  591.  
  592. FUNCTION SDPGetFindPanelSelection(findPanel: SDPFindPanelHandle;
  593.     VAR selection: PackedDSSpec): OSErr;
  594.     INLINE $203C, 4, kSDPGetFindPanelSelection, $AA5D;
  595.  
  596. FUNCTION SDPSetFindPanelBalloonHelp(findPanel: SDPFindPanelHandle;
  597.     balloonHelpID: INTEGER): OSErr;
  598.     INLINE $203C, 3, kSDPSetFindPanelBalloonHelp, $AA5D;
  599.  
  600. FUNCTION SDPSetFindIdentity(findPanel: SDPFindPanelHandle;
  601.     identity: AuthIdentity): OSErr;
  602.     INLINE $203C, 4, kSDPSetFindIdentity, $AA5D;
  603.  
  604.  
  605.  
  606. FUNCTION SDPGetIconByType(recordType: RStringPtr;
  607.                               whichIcons: IconSelectorValue;
  608.                               VAR iconSuite: Handle): OSErr;
  609.                               INLINE $303C, kSDPGetIconByType, $AA5C;
  610.  
  611. FUNCTION SDPGetDSSpecIcon(packedDSSpec: PackedDSSpecPtr;
  612.                               whichIcons: IconSelectorValue;
  613.                               VAR iconSuite: Handle): OSErr;
  614.                               INLINE $303C, kSDPGetDSSpecIcon, $AA5C;
  615.  
  616. FUNCTION SDPGetCategories(VAR catagories: PackedRStringListHandle;
  617.                           VAR displayNames: PackedRStringListHandle): OSErr;
  618.                               INLINE $303C, kSDPGetCategories, $AA5C;
  619.  
  620. FUNCTION SDPGetCategoryTypes(category: RStringPtr;
  621.                                  VAR types: PackedRStringListHandle): OSErr;
  622.                                  INLINE $303C, kSDPGetCategoryTypes, $AA5C;
  623.  
  624.  
  625.  
  626. FUNCTION SDPResolveAliasFile(fileSpec: FSSpecPtr;
  627.                                  resolvedDSSpec: PackedDSSpecHandle;
  628.                                  identity: AuthIdentity;
  629.                                  mayPromptUser: BOOLEAN): OSErr;
  630.                     INLINE $203C, 7, kSDPResolveAliasFile, $AA5D;
  631.  
  632. FUNCTION SDPResolveAliasDSSpec(theAliasDSSpec: PackedDSSpecHandle;
  633.                                    identity: AuthIdentity;
  634.                                    mayPromptUser: BOOLEAN): OSErr;
  635.                     INLINE $203C, 5, kSDPResolveAliasDSSpec, $AA5D;
  636.  
  637.  
  638.  
  639. {$ENDC}    { UsingOCEStandardDirectory }
  640.  
  641. {$IFC NOT UsingIncludes}
  642.     END.
  643. {$ENDC}
  644.